function changeImg(){
    var pic = document.getElementById('picture');
    // console.log(pic.src)
    if(pic.getAttribute("src",2) =="img/check.png"){
        pic.src ="img/checked.png"
    }else{
        pic.src ="img/check.png"
    }
}